package com.li.pojo.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2024-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 归属部门
     */
    private Integer deptId;

    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 手机号
     */
    private String phonenumber;

    /**
     * 性别
     */
    private Integer sex;

    private String password;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 颜值？
     */
    private String salt;

    private String status;

    private String delFlag;

    private String loginIp;

    private LocalDateTime loginDate;

    private String createBy;

    private String updateBy;

    private String createTime;

    private String updateTime;


    /**
     * 角色ids
     */
    private String roleIds;

    /**
     * 岗位ids
     */
    private String postIds;

    private String remark;
}
